pciback: Devices can lose config space info on D3->D0 transition, yet
authorKeir Fraser <keir@xensource.com>
Wed, 28 Mar 2007 19:19:11 +0000 (20:19 +0100)
committerKeir Fraser <keir@xensource.com>
Wed, 28 Mar 2007 19:19:11 +0000 (20:19 +0100)
commitabaff6993d0492eb06a7532085f60db7fca43b8a
tree6bdf298cdc081142d629c50a8577cfef1bca9587
parent3340fde0ca81b924b021e6212a7634b1fa98c961
pciback: Devices can lose config space info on D3->D0 transition, yet
they may not (and even if they try, can not) restore the BARs. Since
Linux does not do this for us, pciback must do it for itself manually.

Possible todo: Restore all first 64 bytes of the config space?

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/pciback/conf_space_capability_pm.c